package com.scau.hwadee.examination.mapper;

import com.scau.hwadee.examination.entity.Exammajor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author YHX
 * @date 2019/7/29  9:01
 * @description
 */
public interface ExammajorMapper {
    int deleteByPrimaryKey(@Param("mjId") String mjId, @Param("esId") String esId);

    int deleteExamMajorList(@Param("list") List<String> majorId);

    int insert(Exammajor record);

    int insertList(@Param("list") List<Exammajor> records);

    int insertSelective(Exammajor record);

    List<Exammajor> selectAllExamMajorsByExamSessionId(@Param("esId") String esId);

    int selectCountMajorsByExamSessionId(@Param("esId") String esId);

    int selectCountMajorIDByExamSessionId(@Param("esId") String esId,
                                          @Param("list") List<Character> characters);

}